//
//  CTHeader.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/4/20.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#ifndef ConstellationTalk_0_1_CTHeader_h
#define ConstellationTalk_0_1_CTHeader_h




/* ==================== net ==================== */
//超时请求时长
#define CT_HEADER_REQUEST_TIMEOUT_INTERVAL 10




/* ==================== view ==================== */
#define CT_HEADER_SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width
#define CT_HEADER_SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height




/* ==================== color ==================== */
#define CT_HEADER_ORANGE_COLOR [UIColor colorWithRed:255/255.0 green:132/255.0 blue:49/255.0 alpha:1.0]
#define CT_HEADER_WHITE_COLOR [UIColor colorWithRed:251/255.0 green:251/255.0 blue:249/255.0 alpha:1.0]
#define CT_HEADER_BLACK_COLOR [UIColor colorWithRed:102/255.0 green:102/255.0 blue:102/255.0 alpha:1.0]
#define CT_HEADER_GRAY_COLOR [UIColor colorWithRed:149/255.0 green:149/255.0 blue:149/255.0 alpha:1.0]
#define CT_HEADER_GREEN_COLOR [UIColor colorWithRed:59/255.0 green:200/255.0 blue:39/255.0 alpha:1.0]

//分割线深色，用于主页线的颜色  上  下
#define CT_HEADER_DEEPLINE_COLOR [UIColor colorWithRed:164/255.0 green:164/255.0 blue:164/255.0 alpha:1.0]
//分割线浅色,应用内所有分割线都用这个色
#define CT_HEADER_BRIGHTLINE_COLOR [UIColor colorWithRed:201/255.0 green:201/255.0 blue:201/255.0 alpha:1.0]


/* ==================== font size ==================== */
#define CT_HEADER_TITLE_FONTSIZE 21




/* ==================== image ==================== */
#define CT_HEADER_BACK_IMAGE_CLICK @"biaotilan_bt_back_click"
#define CT_HEADER_BACK_IMAGE @"biaotilan_bt_back"



/* ==================== version update ==================== */
static char * updateComposeKey;
static char * updateFinishKey;



/* ==================== noti ==================== */

#define CTPushNotification @"CTPushNotification" //推送通知

#define CTLoginSuccessNotification @"CTLoginSuccessNotification" //登录成功
#define CTLoginFailedNotification  @"CTLoginFailedNotification"  //登录失败

#define CTExitSuccessNotification  @"CTExitSuccessNotification"  //退出成功
#define CTExitFailedNotification   @"CTExitFailedNotification"   //退出失败


//token验证错误
#define CT_NOTI_VISITOR_ERROR_REQUEST @"CTVisitorErrorQuest"


//关注
#define CT_NOTI_FOLLOWING_SUCCESS @"CTFollowingSuccess"
#define CT_NOTI_FOLLOWING_Failed @"CTFollowingFailed"

//取消关注
#define CT_NOTI_CANCEL_FOLLOWING_SUCCESS @"CTCancelFollowingSuccess"
#define CT_NOTI_CANCEL_FOLLOWING_Failed @"CTCancelFollowingFailed"

//点赞
#define CT_NOTI_LIKE_SUCCESS @"CTLikeSuccess"
#define CT_NOTI_LIKE_Failed @"CTLikeFailed"

//取消点赞
#define CT_NOTI_CANCEL_LIKE_SUCCESS @"CTCancelLikeSuccess"
#define CT_NOTI_CANCEL_LIKE_Failed @"CTCancelLikeFailed"

//发布评论
#define CT_NOTI_PUBLISH_COMMENT_SUCCESS @"CTPublishCommentSuccess"
#define CT_NOTI_PUBLISH_COMMENT_Failed @"CTPublishCommentFailed"

//删除评论
#define CT_NOTI_DELETE_COMMENT_SUCCESS @"CTDeleteCommentSuccess"
#define CT_NOTI_DELETE_COMMENT_Failed @"CTDeleteCommentFailed"

//删除个人发布的内容
#define CT_NOTI_DELETE_PUBLISH_SUCCESS @"CTDeletePublishSuccess"
#define CT_NOTI_DELETE_PUBLISH_Failed @"CTDeletePublishFailed"

//发布内容
#define CT_NOTI_PUBLISH_SUCCESS @"CTPublishSuccess"
#define CT_NOTI_PUBLISH_Failed @"CTPublishFailed"


//跳转到相应话题
#define CT_NOTI_JUMP_TO_GROUP @"CTJumpToGroup"

//清理缓存
#define CT_NOTI_CLEAR_CACHE @"CTClearCache"



//设置头像
#define CT_NOTI_SET_HEAD @"CTSetHead"


#endif
